﻿Public Class NguoiNhanTinBUS

    Private empDAL As NguoiNhanTinDAO

    Public Sub New()
        empDAL = New NguoiNhanTinDAO
    End Sub

    Public Function Getdata() As List(Of NguoiNhanTinDTO)
        Return empDAL.Getdata()
    End Function

    Public Function IsUpNNT(ByVal emp As NguoiNhanTinDTO, ByVal f As Boolean) As Boolean
        Return empDAL.IsUpNNT(emp, f)
    End Function

    Public Function DeleteNNT(ByVal emp As NguoiNhanTinDTO)
        Return empDAL.DeleteNNT(emp)
    End Function

End Class
